﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ServiceDetail.aspx.cs" Inherits="ServiceDetail" %>

<%@ Register assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" namespace="System.Web.UI.DataVisualization.Charting" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <script src="js/jquery-1.4.4.js"></script>
    <script src="js/main-menuleft.js"></script>
    <link href="css/main-menuleft.css" rel="stylesheet" />
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeaderRowBot" Runat="Server">
    <div class="main">
        <div class="title"><asp:LinkButton ID="lbtnTitle" runat="server" ForeColor="White">Services</asp:LinkButton></div>
    </div>
    </asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Content" Runat="Server">
    <div class="main">
    <div class="wrapper">
        <div class="menu-subservice">
                <asp:Repeater ID="parentRepeater" runat="server" OnItemDataBound="parentRepeater_ItemDataBound">
                    <ItemTemplate>
                        <ul class="items" id='items<%# Eval("ServiceCategoryID")%>'>
                            <li>
                                <asp:LinkButton ID="lbItem" runat="server" Text='<%#Eval("ServiceName") %>' PostBackUrl="google.com"></asp:LinkButton>
                                <asp:Repeater ID="childRepeater" runat="server">
                                    <ItemTemplate>
                                        <ul class="sub-items" id='iitems<%# Eval("SubCategoryID")%>'>
                                            <li>
                                                <asp:LinkButton ID="lbSubItem" runat="server" Text='<%#"• "+Eval("SubName")%>' PostBackUrl='<%#"~/ServiceDetail.aspx?ServiceCategoryID="+Eval("ServiceCategoryID")+"&SubCategoryID="+Eval("SubCategoryID")%>'></asp:LinkButton>
                                            </li>
                                        </ul>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </li>
                        </ul>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
        <input id="menu_active1" myinput="menu_active1" type="hidden" runat="server" value=""/>
        <input id="menu_active2" myinput="menu_active2" type="hidden" runat="server" value=""/> 
        <div class="payment">
            <asp:Label ID="lbTitlePayment" CssClass="ContentTitle" runat="server" Text=""></asp:Label>
            <asp:Image ID="Image1" runat="server" />
            <asp:Label ID="lbTitleDescription" CssClass="ContentTitle" runat="server" Text="Description"></asp:Label>
            <br />
            <asp:Label ID="lbDescription" runat="server" Text="Descripppppppppppppppption Here"></asp:Label>
            <br />
            <asp:Label ID="lbTitlePlan" CssClass="ContentTitle" runat="server" Text="Plans"></asp:Label>
            <br />
            <asp:GridView ID="gvPaymentMethod" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="black" GridLines="Vertical" HorizontalAlign="Center" DataKeyNames="PaymentMethodID" OnSelectedIndexChanging="gvPaymentMethod_SelectedIndexChanging" BorderColor="#c53005" Width="550px">
                <AlternatingRowStyle BackColor="white" />
                <Columns>
                    <asp:BoundField DataField="PaymentName" HeaderText="Plan" />
                    <asp:BoundField DataField="PriceRental" DataFormatString="{0:C2}" HeaderText="Price Rental" />
                    <asp:BoundField DataField="Note" HeaderText="Note" />
                    <asp:ButtonField ButtonType="Button" Text="Order Now" ControlStyle-CssClass="button" CommandName="select">
<ControlStyle CssClass="button"></ControlStyle>
                    </asp:ButtonField>
                </Columns>
                <EditRowStyle BackColor="#7C6F57" />
                <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                <HeaderStyle BackColor="white" Font-Bold="True" ForeColor="#c53005" />
                <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                <RowStyle BackColor="#f2f2f2" />
                <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                <SortedAscendingCellStyle BackColor="#F8FAFA" />
                <SortedAscendingHeaderStyle BackColor="#246B61" />
                <SortedDescendingCellStyle BackColor="#D4DFE1" />
                <SortedDescendingHeaderStyle BackColor="#15524A" />
            </asp:GridView>
            <br />
        </div>
    </div>
        </div>
</asp:Content>

